<form id="search_issueInfo_index" onsubmit="return false" method="POST">
<table style="width:100%;margin:0px auto;"class="comm_table">
	<tr>
		<th width="10%">发布号</th>
		<th width="15%">发布人</th>
		<th>版本号</th>
		<th width="14%">发布时间</th>
		<th width="14%">确认发布[测试服务器]</th>
		<th width="14%">是否回滚[测试服务器]</th>
		<th width="10%">发布结果</th>
		<th width="12%">操作[正式服务器]</th>
	</tr>
	
	<!--{foreach from=$issueInfo item=issue}-->
	<tr>
		<td style="text-align: center;"><!--{$issue->issueID}--></td>
		<td style="text-align: center;"><!--{$issue->issueUsername}--></td>
		<td><!--{$issue->versionNumber}--></td>
		<td style="text-align: center;" id="issue_<!--{$issue->issueID}-->"><!--{$issue->issueTime}--></td>
		<td class="td_wrap" id="user_<!--{$issue->issueID}-->"  style="text-align:center;">
		<!--{if $issue->issueFlg == 1}-->
			<font color="#4D4C4C">已确认</font>
		<!--{elseif $issue->issueFlg == 2}-->
			<font color="#4D4C4C">未确认</font>
		<!--{else}-->
			<span class="relative">
				<a href="javascript:void(0);" onclick="delete_pop_right(this,'您确认发布吗?');">未确认</a>
				<div class="absolute_right hide">
					<p></p>
					<a onclick="confirm_issue_Info(<!--{$issue->issueID}-->,<!--{$issue->versionNumber}-->,1);" href="javascript:void(0);">确认</a>
					<a onclick="cancal_delete_pop_right();" href="javascript:void(0);">取消</a>
				</div>
			</span>
		<!--{/if}-->
		</td>
		<td class="td_wrap" id="user_rollback_<!--{$issue->issueID}-->" style="text-align: center;">
		<!--{if $issue->issueFlg == 1}-->
			<font color="#4D4C4C">无法回滚</font>
		<!--{elseif $issue->issueFlg == 2}-->
			<font color="#4D4C4C">已回滚</font>
		<!--{else}-->
			<span class="relative">
				<a href="javascript:void(0);" onclick="delete_pop_right(this,'您确认回滚吗?');">回滚</a>
				<div class="absolute_right hide">
					<p></p>
					<a onclick="rollback_revision(<!--{$issue->versionNumber}-->,<!--{$issue->issueID}-->,1);" href="javascript:void(0);">确认</a>
					<a onclick="cancal_delete_pop_right();" href="javascript:void(0);">取消</a>
				</div>
			</span>
		<!--{/if}-->
		</td>
		<td style="text-align:center;">
			<a class="code_compare" onclick="get_issue_result(<!--{$issue->issueID}-->,<!--{$issue->versionNumber}-->);">查看</a>
		</td>
		<td class="td_wrap" id="issue_server_<!--{$issue->issueID}-->" style="text-align:center;">
			<!--{if $issue->issueServerFlg == 0}-->
				<span class="relative">
					<a href="javascript:void(0);" onclick="delete_pop_right(this,'您确认发布吗?');">发布</a>
					<div class="absolute_right hide">
						<p></p>
						<a onclick="issue_server(<!--{$issue->issueID}-->,<!--{$issue->versionNumber}-->,0);" href="javascript:void(0);">确认</a>
						<a onclick="cancal_delete_pop_right();" href="javascript:void(0);">取消</a>
					</div>
				</span>
			<!--{elseif $issue->issueServerFlg == 1}-->
				<span class="relative">
					<a href="javascript:void(0);" onclick="delete_pop_right(this,'您确认回滚吗?');">回滚</a>
					<div class="absolute_right hide">
						<p></p>
						<a onclick="issue_server_rollback(<!--{$issue->issueID}-->,<!--{$issue->versionNumber}-->,1);" href="javascript:void(0);">确认</a>
						<a onclick="cancal_delete_pop_right();" href="javascript:void(0);">取消</a>
					</div>
				</span>
			<!--{else}-->
				<font color="#4D4C4C">已回滚</font>
			<!--{/if}-->
		</td>
	</tr>
	<!--{/foreach}-->
	<!--{if $error_msg_1}-->
		<tr>
			<td colspan="8"><!--{$error_msg_1}--></td>
		</tr>
	<!--{/if}-->
</table>
</form>
<div id="footer_html" style="width:100%;"><!--{$footHtml}--></div>